package com.cy.shiro.dao;

import com.cy.shiro.pojo.SysRole;
import com.cy.shiro.pojo.SysRoleResources;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface SysRoleResourcesDao {

    //删除
    public Integer delRoleResource(Integer roleId);

    //添加权限资源
//    public Integer addRoleResources(Integer roleId, String resourcesIds);


    public Integer insertList(@Param("sysRoleResources") List<SysRoleResources> sysRoleResources);

}
